package com.example.demo.service.Impl;

import com.example.demo.mapper.DiseaseKeywordMapper;
import com.example.demo.module.entity.DiseaseKeyword;
import com.example.demo.service.DiseaseKeywordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DiseaseKeywordServiceImpl implements DiseaseKeywordService {
    @Autowired
    private DiseaseKeywordMapper diseaseKeywordMapper;

    @Override
    public List<DiseaseKeyword> findAll() throws Exception {
        return diseaseKeywordMapper.selectAll();
    }
}
